<?php 
/* 
Proyecto: Sistema Victoria 2.0
Programador: Felipe Guerra
Año: 2015
Flores de tumbabiro ©
*/
require_once('../core/libreria.php');
require_once('../db/connect.php'); 

$filaMostrar = $_GET['id'];
$cp = $_GET['cp'];

//--------------------SELECT INICIO---------------------
mysql_select_db($database_victoria, $victoria );
$query_rsListar = "
SELECT
*
FROM agencia_carga
WHERE AGE_CODIGO = '$filaMostrar'
";
//--------------------SELECT FIN------------------------

$rsListar = mysql_query($query_rsListar, $victoria ) or die(mysql_error());
$row = mysql_fetch_assoc($rsListar);
?>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="../css/list.css" /><!--Importante, siempre debe ir antes del css del menu vertical-->
<link href="../css/dcverticalmegamenu.css" rel="stylesheet" type="text/css" /><!--	Menu vertical	-->
<script src="../js/jquery.js"></script>
<link rel="stylesheet" href="../css/jquery-ui.css" />
<script src="../js/jquery-ui.js"></script>
</head>
<body id="bodyIndex" >

<form action="" method="post" name="form" id="form" >
    
<!--Estilos de la tabla utilizada para ver y ABC-->
<link rel="stylesheet" href="../css/tabla.css" />

<!--Javascript de la tabla utilizada para ABC-->
<script src="../js/tabla.js"></script>

<table align="center" width="45%" border="1" style="background-color:#FFFFFF" class="tabla_css" >
  <tr  id="tr_encabezado" >
    <td colspan="2" id="td_encabezado">
	    Ver registro	
    </td>
  </tr>
  <tr>
    <td width="20%" class="etiqueta" ><strong>Nombre: </strong></td>
    <td width="20%"><?php echo $row['AGE_NOMBRE'];?></td>
  </tr>
  <tr>
    <td width="20%" class="etiqueta" ><strong>Dirección: </strong></td>
    <td width="20%"><?php echo $row['AGE_DIRECCION'];?></td>
  </tr>
  <tr>
    <td width="20%" class="etiqueta" ><strong>Telefono fijo: </strong></td>
    <td width="20%"><?php echo $row['AGE_TELEFONO_FIJO'];?></td>
  </tr>
  <tr>
    <td width="20%" class="etiqueta" ><strong>Telefono movil: </strong></td>
    <td width="20%"><?php echo $row['AGE_TELEFONO_MOVIL'];?></td>
  </tr>
  <tr>
    <td width="20%" class="etiqueta" ><strong>Nombre contacto: </strong></td>
    <td width="20%"><?php echo $row['AGE_NOMBRE_CONTACTO'];?></td>
  </tr>
  <tr>
    <td width="20%" class="etiqueta" ><strong>Pagina web: </strong></td>
    <td width="20%"><?php echo $row['AGE_PAGINA_WEB'];?></td>
  </tr>
  <tr>
    <td width="20%" class="etiqueta" ><strong>Skype: </strong></td>
    <td width="20%"><?php echo $row['AGE_SKYPE'];?></td>
  </tr>
  <tr>
    <td width="20%" class="etiqueta" ><strong>Correo electronico: </strong></td>
    <td width="20%"><?php echo $row['AGE_CORREO_ELECTRONICO'];?></td>
  </tr>
  <tr>
    <td class="etiqueta" ><strong>Vigencia: </strong></td>
    <td><input disabled="disabled" type="checkbox" <?php echo ($row['AGE_VIGENCIA'] == 1 ? 'checked="checked"' : '' );?> /></td>
    </tr>
  <tr>
  <tr>
    <td colspan="4" id="td_pie">
      <a href="<?php echo $_GET['pn'].'List.php?cp='.$cp?>" class="btn btn-large" >
        Regresar
        </a>
        <div class="recargarBoton" ><img src="../imagenes/listABC/load.png" /></div>
      </td>
  </tr>
</table>

<input id="verify" name="verify" type="hidden" value="verify"></input>

<form>

</body>
</html>